import { JVxeTypes, JVxeColumn } from '/@/components/base/JVxeTable/types';

//子表单数据
//子表表格配置
export const DetailColumns: JVxeColumn[] = [
  {
    title: '创建人',
    key: 'creator',
    filedkey: 'DetailColumns_one_creator',
    type: JVxeTypes.input,
    width: '200px',
    placeholder: '请输入${title}',
    defaultValue: '',
  },
  {
    title: '流程状态',
    key: 'processStatus',
    filedkey: 'DetailColumns_one_process_status',
    type: JVxeTypes.input,
    width: '200px',
    placeholder: '请输入${title}',
    defaultValue: '',
  },
  {
    title: '巡视内容',
    key: 'inspectionContent',
    filedkey: 'DetailColumns_one_inspection_content',
    type: JVxeTypes.textarea,
    width: '200px',
    placeholder: '请输入${title}',
    defaultValue: '',
    validateRules: [{ required: true, message: '${title}不能为空' }],
  },
  {
    title: '专业名称',
    key: 'majorName',
    filedkey: 'DetailColumns_one_major_name',
    type: JVxeTypes.input,
    width: '200px',
    placeholder: '请输入${title}',
    defaultValue: '',
    validateRules: [{ required: true, message: '${title}不能为空' }],
  },
  {
    title: '巡视开始日期',
    key: 'inspectionStartDate',
    filedkey: 'DetailColumns_one_inspection_start_date',
    type: JVxeTypes.datetime,
    width: '200px',
    placeholder: '请输入${title}',
    defaultValue: '',
    validateRules: [{ required: true, message: '${title}不能为空' }],
  },
  {
    title: '巡视结束日期',
    key: 'inspectionEndDate',
    filedkey: 'DetailColumns_one_inspection_end_date',
    type: JVxeTypes.datetime,
    width: '200px',
    placeholder: '请输入${title}',
    defaultValue: '',
    validateRules: [{ required: true, message: '${title}不能为空' }],
  },
];
